package com.joymeter.data.service;

import com.joymeter.data.entity.UsageHour;

import java.util.List;

/**
 * @interface UsageHourService
 * @Description TODO
 * @Author liang
 * @Date 2018/8/16 18:34
 * @Version 1.0
 **/
public interface UsageHourService {
    UsageHour selectUsageById(String deviceId);
    boolean insertUsage(UsageHour usageHour);
    List<UsageHour> selectSuspicious();
    void truncateUsageHour();
}
